package com.wxisme.ssm.service;

import com.wxisme.ssm.po.User;
import com.wxisme.ssm.po.UserInfo;


/**
 *用户管理service
 *@author wxisme
 *@time 2015-8-19 下午6:54:07
 */

public interface LoginService {
	
	
	public User findUserById(int id) throws Exception;
	
	public boolean insertUserByRegister(User user) throws Exception;
	
	public User findUserByUsername(String username) throws Exception;
	
	public boolean loginCheck(String username, String password) throws Exception;
	
	public void insertUserInfoByRegister(UserInfo userInfo) throws Exception;

}
